import { NzTableFilterFn, NzTableFilterList, NzTableSortFn, NzTableSortOrder } from 'ng-zorro-antd/table';

export interface ColumnItem {
  name: string;
  sortOrder: NzTableSortOrder | null;
  sortFn: NzTableSortFn | null;
}

export interface txsInfoItemsEntity {
  time: string;
  hash: string;
  from: string;
  to: string;
}

export interface txsInBlockEntity {
  hash: string;
  from: string;
  to: string;
}

export interface blockEntity {
  timestamp: number;
  transactions: txsInBlockEntity[];
}

export interface txInfoEntity {
  blockHash: string;
  blockNumber: number;
  gas: number;
  from: string;
  to: string;
  nonceRaw: string;
  hash: string;
  input: string;
}

export interface txRecipyEntity {
  output: string;
  blockHash: string;
  gasUsed: number;
  blockNumber: number;
  contractAddress: string;
  from: string;
  transactionIndex: number;
  to: string;
  logsBloom: string;
  transactionHash: string;
  status: string;
}